Setting up a PPP connection using "Communications cable between two computers"
Hello, I have a special hardware device that requires me to establish a PPP connection using a serial cable to communicate with the PC I have a few problem with this in Windows 7 Enterprise evaluation version. I have used the "Phone and Modem" dialog in control panel to create a modem entry for "Communications cable between two computers" Now I go to the "Network and Sharing Center" in Control Panel, and select "Set up a new connection or Network". Then I choose the "Set up a dial-up connection" Here is my first problem: It insists that I enter a phone number otherwise the Connect button will not enable. But I since I choose the direct serial cable connection, I don't think it should require a phone number. My workaround is to just enter a dummy number and then delete it again later the connection properties. Then press "Connect" and then "Skip" Now in "Network and Sharing Center", I go to "Change Adapter Settings", open properties for the new dial-up connection and click "Configure" on the "General" tab. This opens the "Modem Configuration" dialog. Here I deselect the three "Hardware feature" settings. Here is my second problem: If I click OK in "Modem Configuration" and in "Dial-up connection properties" and then open them again, the "Enable hardware flow control" setting is back on. I have verified that the setting is correctly written to the file rasphone.pbk: HwFlowControl=0 But opening "Dial-up connection properties" and clicking OK sets it back to HwFlowControl=1 in the file, unless I go to "Modem Configuration" and deselect it again. Here is my third problem: The dial-up connection will not work. I have tracked the cause down by comparing the "rasphone.pbk" file to a working one from Windows XP. The field "Type" is set to 1 but it should be 3. As far as I can see from the RAS API (look up the RASENTRY data structure) 1=RASET_Phone (Phone line, for example, modem, ISDN, X.25) 3=RASET_Direct (Direct serial or parallel connection.) Manually editing the rasphone.pbk file and changing the value from 1 to 3 fixes the problem and my dial-up connection works OK. So my last question : Are these bugs, or is there a different way to set up a PPP connection like this, that does not use a modem and a phone number to dial.
September 24th, 2009 10:07am

Hi,Based on my knowledge,I suspectthis may be related to this specific device. I would also like to share the following documents with you: Point-to-Point Protocol RASENTRY Structure I am also very glad to know that the connection works with your efforts. We are sure that what you experienced will help other users who meet this issue. Thanks again for your information. Nicholas Li - MSFT
Free Windows Admin Tool Kit Click here and download it now
September 25th, 2009 6:25am

Hi,Based on my knowledge,I suspectthis may be related to this specific device. I would also like to share the following documents with you: Point-to-Point Protocol RASENTRY Structure I am also very glad to know that the connection works with your efforts. We are sure that what you experienced will help other users who meet this issue. Thanks again for your information. Nicholas Li - MSFT
September 25th, 2009 6:25am

I'm trying to follow the same steps to create a PPP connection over a serial cable using Windows 7. I have the same situation where some special hardware requires a PPP connection over a direct serial connection. Here are the steps: 1) from "Network and Sharing Center", choose "Set Up A Connection or Network" 2) Choose "Set Up A Dial Up Connection" 3) Fill in "dummy" dial up phone number to enable "Connect". However, there is no option for Direct Serial Cable Connection on this dialog. 4) click "Connect", then "Skip", then go to Connection Properties 5) In connection properties, the "Connect Using" field is filled in with a Conexant modem. I cannot change it to COM1. Question - how did you access the direct serial connection when creating the connection?
Free Windows Admin Tool Kit Click here and download it now
August 23rd, 2010 6:08pm

I'm trying to follow the same steps to create a PPP connection over a serial cable using Windows 7. I have the same situation where some special hardware requires a PPP connection over a direct serial connection. Here are the steps: 1) from "Network and Sharing Center", choose "Set Up A Connection or Network" 2) Choose "Set Up A Dial Up Connection" 3) Fill in "dummy" dial up phone number to enable "Connect". However, there is no option for Direct Serial Cable Connection on this dialog. 4) click "Connect", then "Skip", then go to Connection Properties 5) In connection properties, the "Connect Using" field is filled in with a Conexant modem. I cannot change it to COM1. Question - how did you access the direct serial connection when creating the connection?
August 23rd, 2010 6:08pm

Try this. Go to phone and modem in control panel. Add a modem and check Don't detect my modem. Click next and select Communucation cable between two computers. Click next and select the Com port you want to use. Now set up the network. Network and Sharing Center --> Set up a connection or network --> Set up dial up connection and click next. Now select communucation cable betweem two computers and click next. Fill in a dummy phone number and click connect then skip. Click close. From Network and sharing center click change adapter settings. Right click Dial up Connection and select properties. Click on the Networking tab. Click install and select protocol. Click add and select the file for ppp protocol. ;) That seems to be the catch. Ideas anyone?
Free Windows Admin Tool Kit Click here and download it now
January 5th, 2011 12:17am

Try this. Go to phone and modem in control panel. Add a modem and check Don't detect my modem. Click next and select Communucation cable between two computers. Click next and select the Com port you want to use. Now set up the network. Network and Sharing Center --> Set up a connection or network --> Set up dial up connection and click next. Now select communucation cable betweem two computers and click next. Fill in a dummy phone number and click connect then skip. Click close. From Network and sharing center click change adapter settings. Right click Dial up Connection and select properties. Click on the Networking tab. Click install and select protocol. Click add and select the file for ppp protocol. ;) That seems to be the catch. Ideas anyone?
January 5th, 2011 12:17am

The only way you can set this up is loading Windows Virtual PC XP Mode and setting it up from there. Once Virtual PC is loaded, start it and click on settings on the top bar. Associate the Virtual PC serial port with a serial port on Windows 7. Just follow your nose. Then set up a direct ppp connection to another computer just as you would on any Windows XP machine. Tested and works great!
Free Windows Admin Tool Kit Click here and download it now
January 5th, 2011 6:47am

The only way you can set this up is loading Windows Virtual PC XP Mode and setting it up from there. Once Virtual PC is loaded, start it and click on settings on the top bar. Associate the Virtual PC serial port with a serial port on Windows 7. Just follow your nose. Then set up a direct ppp connection to another computer just as you would on any Windows XP machine. Tested and works great!
January 5th, 2011 6:47am

Hard to find but here it is.... (unlikely source huh?) http://phsw.110mb.com/nw-w7ppp.html
Free Windows Admin Tool Kit Click here and download it now
July 18th, 2011 9:20pm

Hard to find but here it is.... (unlikely source huh?) http://phsw.110mb.com/nw-w7ppp.html
July 18th, 2011 9:20pm

Thanks! I stumbled upon the same issue.
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2012 4:58am

Thanks! I stumbled upon the same issue.
July 9th, 2012 5:10am

I use this class: http://www.codeguru.com/cpp/i-n/network/dial-upnetworking/article.php/c2445/A-Remote-Access-Service-RAS-Client-Class.htm Atentamente, Luis Miguel Romero
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2012 9:53am

I use this class: http://www.codeguru.com/cpp/i-n/network/dial-upnetworking/article.php/c2445/A-Remote-Access-Service-RAS-Client-Class.htm Atentamente, Luis Miguel Romero
September 4th, 2012 9:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics